package com.code.platform.book.controller;

import com.code.platform.book.BaseController;
import com.code.platform.common.open.OpenResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 验证码
 *
 * @author liuyj
 * @create 2017-07-03 17:21
 **/
@Controller
@RequestMapping(value = "/book/indentyfycode")
public class IdentifyCodeController extends BaseController {


    /**
     * 获取短信验证码 liuyj
     *
     * @param mobile
     * @param scene
     * @param type
     * @return
     */
    @RequestMapping(value = "getMobileCode")
    @ResponseBody
    public OpenResponse getMobileCode(String mobile, String scene, String type) {
        logger.info("获取短信验证码，mobile[{}],scene[{}],type[{}]",mobile,scene,type);
        OpenResponse openResponse = new OpenResponse();
        return openResponse;
    }


}
